﻿/*功能描述：客户管理
作者：李周蓬
时间：2021-12-07
修改人：李周蓬
修改时间：2021-12-07*/
using HongStone.Domain.ClientManagementModel;
using HongStone.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Ince.IClient
{
    public interface ICustomer
    {
        /// <summary>
        /// 添加甲方负责人
        /// </summary>
        /// <param name="responsiblePerson"></param>
        /// <returns></returns>
        ResultData AddResponsiblePerson(ResponsiblePerson responsiblePerson);
        /// <summary>
        /// 添加满意度调查
        /// </summary>
        /// <param name="satisfactionSurvey"></param>
        /// <returns></returns>
        ResultData AddSatisfactionSurvey(SatisfactionSurvey satisfactionSurvey);
        /// <summary>
        /// 显示字典表
        /// </summary>
        /// <returns></returns>
        ResultData ShowManYiDu();
        /// <summary>
        /// 绑定省市县
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ResultData BindCity(int id);
        ResultData AddEntering(Customer customer);
        ResultData AddFile(Accessory accessory);
        ResultData AddEnterings(ExtendInformation extendInformation);
        ResultData ShowList( int pageindex, int pagesize, CheckDto checkDto, out int totalcount);
        ResultData ShowLie();
        ResultData Del(string ids);
        ResultData Dels(string ids);
        ResultData ShowJia();
        ResultData ShowMan();
        ResultData ShowFiles();
        ResultData UpdateCustomer(Customer customer);
        ResultData UpdateExtendInformation(ExtendInformation extendInformation);
        ResultData DelJia(string ids);
        ResultData DelMan(string ids);
        ResultData UpdateJia(ResponsiblePerson responsiblePerson);
        ResultData UpdateMan(SatisfactionSurvey satisfactionSurvey);
        ResultData ShowFile(string name, DateTime? beginTime, DateTime? endTime, out int totalcount, int pageindex, int pagesize);
        ResultData ShowJiaPage(int pageindex, int pagesize,string name,DateTime? beginTime,DateTime? endTime,out int totalcount);
        ResultData ShowCustomerTotal(int pageindex, int pagesize, string number,string name,string jian,string addr,string lian,string phone,string sheng,string xian,int type,int hang, DateTime? begintime, DateTime? endtime, out int totalcount);
        ResultData DelProject(string ids);
        ResultData ShowLists(int pageindex, int pagesize, out int totalcount);
    }
}
